PORT = 8000
PROJECT_NAME = dream
GUNICORN_CONF_NAME = gunicorn_conf.py

all: clean-pyc

clean-pyc:
	clear
	find . -name '*.pyc' -exec rm -f {} +
	find . -name '*.pyo' -exec rm -f {} +
	find . -name '*~' -exec rm -f {} +

lines:
	find . -name "*.py"|xargs cat|wc -l

flake8:
	clear
	@flake8 --ignore=E501,W503,W504 --exclude=${PROJECT_NAME}/settings/*.py

f:
	clear
	pip freeze > requirements.txt

i:
	clear
	pip install -r requirements.txt
